<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="org.springframework.security.core.context.SecurityContextHolder" %>

<c:url var="css" value="/resources/css" /> 
<c:url var="menu" value="menu.jsp" /> 

<html>
<head>
	<link rel="stylesheet" type="text/css" media="screen" href="${css}/style.css"/>
	<title><c:out value="${title}"/></title>
</head>

<body>
	<jsp:include page="${menu}" />
	<h1 id="banner">User</h1>
	<hr/>
	
	<p>Username: <span id="content-username"><c:out value="${user.username}"/></span></p>
	<p>Level: <c:out value="${user.lvl}"/></p>
	<p>Exp: <c:out value="${user.exp}"/>/<c:out value="${user.expMax}"/></p>
	<p>Resources 1: <c:out value="${user.resources.resources1}"/></p>
	<p>Resources 2: <c:out value="${user.resources.resources2}"/></p>
	<p>Resources 3: <c:out value="${user.resources.resources3}"/></p>
	<p>Resources 4: <c:out value="${user.resources.resources4}"/></p>
</body>
</html>